﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows;

namespace DCT.Model
{
    public class DeviceBaseModel : ModelBase
    {
        public DeviceBaseModel()
        {
            _device = new Device();
        }

        public DeviceBaseModel(Device device)
        {
            _device = device;
        }

        protected Device _device;

        #region Properties

        public Device Device
        {
            get
            {
                return _device;
            }
        }

        public virtual int DeviceID
        {
            get
            {
                return _device.DeviceID;
            }
            set
            {
                _device.DeviceID = value;
            }
        }

        public string DeviceType
        {
            get
            {
                return _device.DeviceType;
            }
            set
            {
                _device.DeviceType = value;
            }
        }

        #endregion // Properties

        #region Methods

        //public DeviceBaseModel Clone()
        //{
        //    return (DeviceBaseModel)this.MemberwiseClone();
        //}

        #endregion
    } 
}
